//
//  FunctionMethod.h
//  SportSocial
//
//  Created by yull on 14/12/28.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserDao.h"
#import "UserModel.h"
#import <Reachability.h>

@interface FunctionMethod : NSObject

+ (double)distanceBetweenOrderByLat1:(double)lat1 lat2:(double)lat2 lng1:(double)lng1 lng2:(double)lng2;

+ (UserModel *)getUserModelWithUserId:(UInt64)userId;

+ (NSString *)dbDirectoryPath;

+ (NSString *)picDiretoryPath;

+ (NSString *)audioDiretoryPath;

+ (NSString*) gen_uuid;

+ (NSString *)createPicPath;

+ (NSString *)createAudioPath;

+ (NSString *)getChatTimeTextWithTimeStamp:(NSTimeInterval)timeStamp;

+ (BOOL)networkAvailable;
@end
